#version 100
#ifdef GL_ES
precision highp float; 
#endif
varying vec4 V_Color;
varying vec2 V_TexCoord;
uniform sampler2D U_MainTexture;
void main()
{
	vec4 texColor=texture2D(U_MainTexture, V_TexCoord);
	vec4 outColor=vec4(vec3(1.0)-texColor.rgb,texColor.a);
	gl_FragColor = outColor*V_Color;
}